//
// Source code recreated from ConfigVo .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//

package com.ht.modules.system.online.graphreport.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import java.io.Serializable;
import java.util.Date;
import org.springframework.format.annotation.DateTimeFormat;

@TableName("onl_graphreport_head")
public class OnlGraphreportHead implements Serializable {
    private static final long serialVersionUID = 1L;
    @TableId(
        type = IdType.ASSIGN_UUID
    )
    private String id;
    private String name;
    private String code;
    private String cgrSql;
    private String xaxisField;
    private String yaxisField;
    private String yaxisText;
    private String content;
    private String extendJs;
    private String graphType;
    private String isCombination;
    private String displayTemplate;
    private String dataType;
    @JsonFormat(
        timezone = "GMT+8",
        pattern = "yyyy-MM-dd HH:mm:ss"
    )
    @DateTimeFormat(
        pattern = "yyyy-MM-dd HH:mm:ss"
    )
    private Date createTime;
    private String createBy;
    @JsonFormat(
        timezone = "GMT+8",
        pattern = "yyyy-MM-dd HH:mm:ss"
    )
    @DateTimeFormat(
        pattern = "yyyy-MM-dd HH:mm:ss"
    )
    private Date updateTime;
    private String updateBy;

    public OnlGraphreportHead() {
    }

    public String getId() {
        return this.id;
    }

    public String getName() {
        return this.name;
    }

    public String getCode() {
        return this.code;
    }

    public String getCgrSql() {
        return this.cgrSql;
    }

    public String getXaxisField() {
        return this.xaxisField;
    }

    public String getYaxisField() {
        return this.yaxisField;
    }

    public String getYaxisText() {
        return this.yaxisText;
    }

    public String getContent() {
        return this.content;
    }

    public String getExtendJs() {
        return this.extendJs;
    }

    public String getGraphType() {
        return this.graphType;
    }

    public String getIsCombination() {
        return this.isCombination;
    }

    public String getDisplayTemplate() {
        return this.displayTemplate;
    }

    public String getDataType() {
        return this.dataType;
    }

    public Date getCreateTime() {
        return this.createTime;
    }

    public String getCreateBy() {
        return this.createBy;
    }

    public Date getUpdateTime() {
        return this.updateTime;
    }

    public String getUpdateBy() {
        return this.updateBy;
    }

    public void setId(final String id) {
        this.id = id;
    }

    public void setName(final String name) {
        this.name = name;
    }

    public void setCode(final String code) {
        this.code = code;
    }

    public void setCgrSql(final String cgrSql) {
        this.cgrSql = cgrSql;
    }

    public void setXaxisField(final String xaxisField) {
        this.xaxisField = xaxisField;
    }

    public void setYaxisField(final String yaxisField) {
        this.yaxisField = yaxisField;
    }

    public void setYaxisText(final String yaxisText) {
        this.yaxisText = yaxisText;
    }

    public void setContent(final String content) {
        this.content = content;
    }

    public void setExtendJs(final String extendJs) {
        this.extendJs = extendJs;
    }

    public void setGraphType(final String graphType) {
        this.graphType = graphType;
    }

    public void setIsCombination(final String isCombination) {
        this.isCombination = isCombination;
    }

    public void setDisplayTemplate(final String displayTemplate) {
        this.displayTemplate = displayTemplate;
    }

    public void setDataType(final String dataType) {
        this.dataType = dataType;
    }

    public void setCreateTime(final Date createTime) {
        this.createTime = createTime;
    }

    public void setCreateBy(final String createBy) {
        this.createBy = createBy;
    }

    public void setUpdateTime(final Date updateTime) {
        this.updateTime = updateTime;
    }

    public void setUpdateBy(final String updateBy) {
        this.updateBy = updateBy;
    }

    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        } else if (!(o instanceof OnlGraphreportHead)) {
            return false;
        } else {
            OnlGraphreportHead other = (OnlGraphreportHead)o;
            if (!other.canEqual(this)) {
                return false;
            } else {
                label215: {
                    Object this$id = this.getId();
                    Object other$id = other.getId();
                    if (this$id == null) {
                        if (other$id == null) {
                            break label215;
                        }
                    } else if (this$id.equals(other$id)) {
                        break label215;
                    }

                    return false;
                }

                Object this$name = this.getName();
                Object other$name = other.getName();
                if (this$name == null) {
                    if (other$name != null) {
                        return false;
                    }
                } else if (!this$name.equals(other$name)) {
                    return false;
                }

                label201: {
                    Object this$code = this.getCode();
                    Object other$code = other.getCode();
                    if (this$code == null) {
                        if (other$code == null) {
                            break label201;
                        }
                    } else if (this$code.equals(other$code)) {
                        break label201;
                    }

                    return false;
                }

                Object this$cgrSql = this.getCgrSql();
                Object other$cgrSql = other.getCgrSql();
                if (this$cgrSql == null) {
                    if (other$cgrSql != null) {
                        return false;
                    }
                } else if (!this$cgrSql.equals(other$cgrSql)) {
                    return false;
                }

                label187: {
                    Object this$xaxisField = this.getXaxisField();
                    Object other$xaxisField = other.getXaxisField();
                    if (this$xaxisField == null) {
                        if (other$xaxisField == null) {
                            break label187;
                        }
                    } else if (this$xaxisField.equals(other$xaxisField)) {
                        break label187;
                    }

                    return false;
                }

                Object this$yaxisField = this.getYaxisField();
                Object other$yaxisField = other.getYaxisField();
                if (this$yaxisField == null) {
                    if (other$yaxisField != null) {
                        return false;
                    }
                } else if (!this$yaxisField.equals(other$yaxisField)) {
                    return false;
                }

                label173: {
                    Object this$yaxisText = this.getYaxisText();
                    Object other$yaxisText = other.getYaxisText();
                    if (this$yaxisText == null) {
                        if (other$yaxisText == null) {
                            break label173;
                        }
                    } else if (this$yaxisText.equals(other$yaxisText)) {
                        break label173;
                    }

                    return false;
                }

                label166: {
                    Object this$content = this.getContent();
                    Object other$content = other.getContent();
                    if (this$content == null) {
                        if (other$content == null) {
                            break label166;
                        }
                    } else if (this$content.equals(other$content)) {
                        break label166;
                    }

                    return false;
                }

                Object this$extendJs = this.getExtendJs();
                Object other$extendJs = other.getExtendJs();
                if (this$extendJs == null) {
                    if (other$extendJs != null) {
                        return false;
                    }
                } else if (!this$extendJs.equals(other$extendJs)) {
                    return false;
                }

                label152: {
                    Object this$graphType = this.getGraphType();
                    Object other$graphType = other.getGraphType();
                    if (this$graphType == null) {
                        if (other$graphType == null) {
                            break label152;
                        }
                    } else if (this$graphType.equals(other$graphType)) {
                        break label152;
                    }

                    return false;
                }

                label145: {
                    Object this$isCombination = this.getIsCombination();
                    Object other$isCombination = other.getIsCombination();
                    if (this$isCombination == null) {
                        if (other$isCombination == null) {
                            break label145;
                        }
                    } else if (this$isCombination.equals(other$isCombination)) {
                        break label145;
                    }

                    return false;
                }

                Object this$displayTemplate = this.getDisplayTemplate();
                Object other$displayTemplate = other.getDisplayTemplate();
                if (this$displayTemplate == null) {
                    if (other$displayTemplate != null) {
                        return false;
                    }
                } else if (!this$displayTemplate.equals(other$displayTemplate)) {
                    return false;
                }

                Object this$dataType = this.getDataType();
                Object other$dataType = other.getDataType();
                if (this$dataType == null) {
                    if (other$dataType != null) {
                        return false;
                    }
                } else if (!this$dataType.equals(other$dataType)) {
                    return false;
                }

                label124: {
                    Object this$createTime = this.getCreateTime();
                    Object other$createTime = other.getCreateTime();
                    if (this$createTime == null) {
                        if (other$createTime == null) {
                            break label124;
                        }
                    } else if (this$createTime.equals(other$createTime)) {
                        break label124;
                    }

                    return false;
                }

                Object this$createBy = this.getCreateBy();
                Object other$createBy = other.getCreateBy();
                if (this$createBy == null) {
                    if (other$createBy != null) {
                        return false;
                    }
                } else if (!this$createBy.equals(other$createBy)) {
                    return false;
                }

                Object this$updateTime = this.getUpdateTime();
                Object other$updateTime = other.getUpdateTime();
                if (this$updateTime == null) {
                    if (other$updateTime != null) {
                        return false;
                    }
                } else if (!this$updateTime.equals(other$updateTime)) {
                    return false;
                }

                Object this$updateBy = this.getUpdateBy();
                Object other$updateBy = other.getUpdateBy();
                if (this$updateBy == null) {
                    if (other$updateBy != null) {
                        return false;
                    }
                } else if (!this$updateBy.equals(other$updateBy)) {
                    return false;
                }

                return true;
            }
        }
    }

    protected boolean canEqual(final Object other) {
        return other instanceof OnlGraphreportHead;
    }

//    public int hashCode() {
//        int PRIME = true;
//        int result = 1;
//        Object $id = this.getId();
//        int result = result * 59 + ($id == null ? 43 : $id.hashCode());
//        Object $name = this.getName();
//        result = result * 59 + ($name == null ? 43 : $name.hashCode());
//        Object $code = this.getCode();
//        result = result * 59 + ($code == null ? 43 : $code.hashCode());
//        Object $cgrSql = this.getCgrSql();
//        result = result * 59 + ($cgrSql == null ? 43 : $cgrSql.hashCode());
//        Object $xaxisField = this.getXaxisField();
//        result = result * 59 + ($xaxisField == null ? 43 : $xaxisField.hashCode());
//        Object $yaxisField = this.getYaxisField();
//        result = result * 59 + ($yaxisField == null ? 43 : $yaxisField.hashCode());
//        Object $yaxisText = this.getYaxisText();
//        result = result * 59 + ($yaxisText == null ? 43 : $yaxisText.hashCode());
//        Object $content = this.getContent();
//        result = result * 59 + ($content == null ? 43 : $content.hashCode());
//        Object $extendJs = this.getExtendJs();
//        result = result * 59 + ($extendJs == null ? 43 : $extendJs.hashCode());
//        Object $graphType = this.getGraphType();
//        result = result * 59 + ($graphType == null ? 43 : $graphType.hashCode());
//        Object $isCombination = this.getIsCombination();
//        result = result * 59 + ($isCombination == null ? 43 : $isCombination.hashCode());
//        Object $displayTemplate = this.getDisplayTemplate();
//        result = result * 59 + ($displayTemplate == null ? 43 : $displayTemplate.hashCode());
//        Object $dataType = this.getDataType();
//        result = result * 59 + ($dataType == null ? 43 : $dataType.hashCode());
//        Object $createTime = this.getCreateTime();
//        result = result * 59 + ($createTime == null ? 43 : $createTime.hashCode());
//        Object $createBy = this.getCreateBy();
//        result = result * 59 + ($createBy == null ? 43 : $createBy.hashCode());
//        Object $updateTime = this.getUpdateTime();
//        result = result * 59 + ($updateTime == null ? 43 : $updateTime.hashCode());
//        Object $updateBy = this.getUpdateBy();
//        result = result * 59 + ($updateBy == null ? 43 : $updateBy.hashCode());
//        return result;
//    }
//
//    public String toString() {
//        return "OnlGraphreportHead(id=" + this.getId() + ", name=" + this.getName() + ", code=" + this.getCode() + ", cgrSql=" + this.getCgrSql() + ", xaxisField=" + this.getXaxisField() + ", yaxisField=" + this.getYaxisField() + ", yaxisText=" + this.getYaxisText() + ", content=" + this.getContent() + ", extendJs=" + this.getExtendJs() + ", graphType=" + this.getGraphType() + ", isCombination=" + this.getIsCombination() + ", displayTemplate=" + this.getDisplayTemplate() + ", dataType=" + this.getDataType() + ", createTime=" + this.getCreateTime() + ", createBy=" + this.getCreateBy() + ", updateTime=" + this.getUpdateTime() + ", updateBy=" + this.getUpdateBy() + ")";
//    }
}
